package org.xxforest.game.core.common;


public class XXData {
	
	protected static XXData gameData ;

	protected static int WIDTH = 1000 ;
	protected static int HEIGHT = 600 ;
	
	protected static float RATE = 1f ;
	
	protected static int GRAPHIC_WIDTH = (int) (WIDTH * RATE) ;
	protected static int GRAPHIC_HEIGHT = (int) (HEIGHT * RATE) ;

	public static XXData getInstance() {
		if(gameData == null){
			gameData = new XXData() ;
		}
		return gameData;
	}

	public int getWidth() {
		return WIDTH;
	}

	public int getHeight() {
		return HEIGHT;
	}
	
	public int getGraphicWidth(){
		return GRAPHIC_WIDTH ;
	}
	
	public int getGraphicHeight(){
		return GRAPHIC_HEIGHT ;
	}

	public void init() {
		
	}

}
